package com.example.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class Service1 {
    @Autowired
    private Test test;

    public void change(){
        log.info("service:{}:{}",test,test.integer);
        test.integer++;
    }
}
